#ifndef _APPSETTING_
#define _APPSETTING_


class AppSetting
{
public:
	enum EAppType
	{
		eAppType_GameServer,
		eAppType_Editor,
	};
	static AppSetting& Instance()
	{
		static AppSetting _instance;
		return _instance;
	}
	void SetAppType(EAppType eType){ m_eAppType=eType;}
	EAppType GetAppType() const { return m_eAppType;}
	bool IsGameSever()const { return m_eAppType==eAppType_GameServer;}
	bool IsEditor()const { return m_eAppType==eAppType_Editor;}
private:
	EAppType m_eAppType;
	AppSetting():m_eAppType(eAppType_GameServer){};
};



#endif